package xyz.lwm.lazycat.web.annocation;

import xyz.lwm.lazycat.web.handle.HandlerType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author lwm
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.ANNOTATION_TYPE)
public @interface Http {

    /**
     * http method
     */
    HandlerType handlerType();

    /**
     * path
     */
    String path() default "";

}
